<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>华联商城后台管理中心</title>
    <link rel="stylesheet" href="/css/pintuer.css">
    <link rel="stylesheet" href="/css/admin.css">
    <link rel="stylesheet" href="/font/style.css">
    <script src="/js/jquery.js"></script>
    <style>
        .header{overflow: inherit;}
        /*主页提醒按钮*/
        .main-head{
            display: inline-block;
            vertical-align: middle;
        }
        .main-head .menu-t{
            position: relative;
            padding: 1px;
        }
        .main-head .menu-t .imark{
            width: 20px;
            height: 20px;
            font-size: 12px;
            color: #ffffff;
            text-align: center;
            line-height: 14px;
            padding:3px 1px;
            background: red;
            border-radius: 100%;
            position: absolute;
            top: -5px;
            right: -10px;
        }
        .main-head .menu-t [class^='icon-']:before{
            font-size: 30px;
        }
        .navigation{}
        .navigation > li{
            float:left;
            margin-right:30px;
            padding:5px 0;
            position:relative;
        }
        .navigation > li > a{
            font-size:20px;
            color:#000;
            font-weight:500;
            line-height:20px;
            padding:10px 0;
            display:inline-block;
        }
        .navigation > li > a:hover{
            color:#0071b6;
        }
        .navigation > li.current > a{
            color:#0071b6;
        }
        .navigation > li > ul{
            position:absolute;
            right:-10px ;
            top:140%;
            width:230px;
            padding:0px;
            z-index:100;
            display:block;
            opacity:0;
            visibility:hidden;
            background:#fff;
            border-top:3px solid #0071b6;
            -moz-transition:all 500ms ease;
            -webkit-transition:all 500ms ease;
            -ms-transition:all 500ms ease;
            -o-transition:all 500ms ease;
            transition:all 500ms ease;
            -webkit-box-shadow:2px 2px 5px 1px rgba(0,0,0,0.05),-2px 0px 5px 1px rgba(0,0,0,0.05);
            -ms-box-shadow:2px 2px 5px 1px rgba(0,0,0,0.05),-2px 0px 5px 1px rgba(0,0,0,0.05);
            -o-box-shadow:2px 2px 5px 1px rgba(0,0,0,0.05),-2px 0px 5px 1px rgba(0,0,0,0.05);
            -moz-box-shadow:2px 2px 5px 1px rgba(0,0,0,0.05),-2px 0px 5px 1px rgba(0,0,0,0.05);
            box-shadow:2px 2px 5px 1px rgba(0,0,0,0.05),-2px 0px 5px 1px rgba(0,0,0,0.05);
        }
        .navigation > li:hover > ul{
            visibility: visible;
            opacity: 1;
            top: 100%;
            display:block !important;
        }
        .navigation > li > ul > li{
            width:100%;
            border-bottom:1px solid #BBBBBB;
            position:relative;
        }
        .navigation > li > ul > li:last-child{
            border-bottom: none;
        }
        .navigation > li > ul > li > a{
            position:relative;
            display:block;
            padding:10px 20px;
            line-height:20px;
            font-weight:500;
            font-size:12px;
            text-transform:capitalize;
            color: #000;
        }
        .navigation > li > ul > li:hover > a{
            background:#4caee6;
            text-decoration: none;
            color: #fff;
        }
        .navigation > li > ul > li em{
            font-size: 14px;
            float: right;
            color:red;
        }
    </style>
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1><img src="/images/head.png" class="radius-circle rotate-hover" height="50" alt="" />华联商城后台管理中心</h1>
  </div>
  <div class="head-l float-right">
    <span class="huanying fadein-top">欢迎{$Think.session.username}总管理员</span>
    <!--<div class="main-head">
      <ul class="navigation">
        <li>
          <div class="menu-t"><i class="icon-envelope-o"></i><em class="imark">10</em> </div>
          <ul>
            <li><a href="#">消息通知<em></em></e></a></li>
            <li><a href="#">用户在线消息<em>(2)</em></a></li>
            <li><a href="#">用户反馈<em>(2)</em></a></li>
          </ul>
        </li>
        <li>
          <div class="menu-t"><i class="icon-star"></i><em class="imark">10</em></div>
          <ul>
            <li><a href="#">订单提示</a></li>
            <li><a href="#">代发货订单<em>(2)</em></a></li>
            <li><a href="#">待处理退换货订单<em>(2)</em></a></li>
            <li><a href="#">最新已付款订单<em>(2)</em></a></li>
            <li><a href="#">最新订单<em>(2)</em></a></li>
          </ul>
        </li>
        <li>
          <div class="menu-t"><i class="icon-user"></i></div>
          <ul>
            <li><a href="#">个人中心</a></li>
            <li><a href="#">修改密码</a></li>
            <li><a href="#">更换头像</a></li>
          </ul>
        </li>
      </ul>
    </div> -->
    <!--<a class="button button-little bg-green " href="" target="_self" >-->
    <!--<span class="icon-home"></span> 返回首页-->
    <!--</a> &nbsp;&nbsp;-->
    <!--<a href="##" class="button button-little bg-blue">-->
    <!--<span class="icon-wrench"></span> 清除缓存-->
    <!--</a> &nbsp;&nbsp;-->
    <a class="button button-little bg-red" href="{:url('login/logout')}">
      <span class="icon-power-off"></span> 退出登录
    </a>
  </div>
</div>
<div class="leftnav" style="overflow: auto">
    {if $Think.session.auth_name == 'admin'}
  <div class="leftnav-title" ><strong><span class="icon-home"></span><a href="{:url('index/index')}">首页</a></strong></div>
    {/if}
  {volist name = "member_view_menus_list" id = "value"}
    <h2><span class="icon-pencil-square-o"></span>{$value.name}</h2>
      <ul>
        {volist name = "value.min" id = "v"}
        <li><a href="{:url($v.url)}" target="right"><span class="icon-bars"></span>{$v.name}</a></li>
        {/volist}
      </ul>
      
  {/volist}
</div>
<script type="text/javascript">
$(function(){
  $(".leftnav h2").click(function(){
	  $(this).next().slideToggle(200);
      $(this).siblings("h2").next().slideUp(200);
     /* $(this).siblings().next().slideToggle(200);*/
	  $(this).toggleClass("on").siblings("h2").removeClass("on")
  })
  $(".leftnav ul li a").click(function(){
	    $("#a_leader_txt").text($(this).text());
  		$(".leftnav ul li a").removeClass("on");
		$(this).addClass("on");
  })
});
</script>
<ul class="bread">
  <li><a href="javascript:;" target="right" class="icon-home"> 首页</a></li>
  <li><a href="##" id="a_leader_txt">网站信息</a></li>
</ul>
<div class="admin">
    {if $Think.session.auth_name == 'admin'}
  <iframe scrolling="auto" rameborder="0" src="{:url('index/select')}" name="right" width="100%" height="100%" ></iframe>
    {else} 
    <iframe scrolling="auto" rameborder="0" src="{:url($member_view_menus_list[1]['min'][0]['url'])}" name="right" width="100%" height="100%" ></iframe>
    {/if}
</div>
<div style="text-align:center;">
</div>
</body>
</html>